package com.cskaoyan.bean.cart;

import com.cskaoyan.bean.Cart;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 姚旭佳
 */
@NoArgsConstructor
@Data
public class CartIndexVo {

    /**
     * cartTotal : {"goodsCount":18,"checkedGoodsCount":4,"goodsAmount":22995,"checkedGoodsAmount":1076}
     * cartList : [{"id":67,"userId":1,"goodsId":1181021,"goodsSn":"1111110","goodsName":"手办","productId":265,"price":100,"number":4,"specifications":["20x220","50x50"],"checked":false,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/fw3hm3aftcivn244ss19.jpg","addTime":"2021-10-21 15:47:06","updateTime":"2021-10-21 15:51:47","deleted":false},{"id":68,"userId":1,"goodsId":1022000,"goodsSn":"1022000","goodsName":"意式毛线绣球四件套","productId":31,"price":299,"number":5,"specifications":["标准"],"checked":false,"picUrl":"http://yanxuan.nosdn.127.net/5350e35e6f22165f38928f3c2c52ac57.png","addTime":"2021-10-21 15:47:20","updateTime":"2021-10-21 16:27:54","deleted":false},{"id":71,"userId":1,"goodsId":1181016,"goodsSn":"1","goodsName":"2","productId":260,"price":6,"number":4,"specifications":["标准"],"checked":false,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/j4yej57ac88war4kgqb3.jpg","addTime":"2021-10-21 16:09:15","updateTime":"2021-10-21 16:42:44","deleted":false},{"id":74,"userId":1,"goodsId":1181028,"goodsSn":"20211021001003","goodsName":"奥迪S7","productId":272,"price":20000,"number":1,"specifications":["标配","高配"],"checked":false,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/97v035qkzcia79ba4k48.PNG","addTime":"2021-10-21 16:29:30","updateTime":"2021-10-21 16:31:45","deleted":false},{"id":76,"userId":1,"goodsId":1044012,"goodsSn":"1044012","goodsName":"澳洲羊羔毛华夫格盖毯","productId":57,"price":349,"number":2,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/a803c68ea88e3116023b45ac9ea99510.png","addTime":"2021-10-21 16:35:09","updateTime":"2021-10-21 16:42:18","deleted":false},{"id":77,"userId":1,"goodsId":1057036,"goodsSn":"1057036","goodsName":"日式纯色水洗亚麻抱枕","productId":71,"price":79,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/8a9ee5ba08929cc9e40b973607d2f633.png","addTime":"2021-10-21 16:35:58","updateTime":"2021-10-21 16:38:21","deleted":false},{"id":78,"userId":1,"goodsId":1023012,"goodsSn":"1023012","goodsName":"色织华夫格夏凉被","productId":34,"price":299,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/07376e78bf4fb8a5aa8e6a0b1437c3ad.png","addTime":"2021-10-21 16:38:59","updateTime":"2021-10-21 16:38:59","deleted":false}]
     */

    @JsonProperty("cartTotal")
    private CartTotalDTO cartTotal;
    @JsonProperty("cartList")
    private List<Cart> cartList;



}
